//
//  LYVideoCommentHistoryView.m
//  LYLiveApp
//
//  Created by QD on 16/10/17.
//  Copyright © 2016年 览益信息科技. All rights reserved.
//

#import "LYVideoCommentHistoryView.h"
#import "UIView+Frame.h"

@interface LYVideoCommentHistoryView ()
@property (weak, nonatomic) IBOutlet UILabel *titleView;
@property (weak, nonatomic) IBOutlet UIView *leftView;
@property (weak, nonatomic) IBOutlet UIView *rightView;

@end

@implementation LYVideoCommentHistoryView
- (void)prepareView
{
    self.titleView.x = SCREEN_WIDTH/2 - 91/2;
    self.titleView.y = 33/2 - 13/2;
    self.leftView.x = self.titleView.x - 10 - 82;
    self.rightView.x = self.titleView.x + 91 + 10;
}

+ (instancetype)viewWithXib
{
    LYVideoCommentHistoryView *view = [[[UINib nibWithNibName:@"LYVideoCommentHistoryView" bundle:nil] instantiateWithOwner:self options:nil] lastObject];
    return view;
}

@end
